package com.ciis.base.param.mapper;

import com.ciis.base.BaseMapper;
import com.ciis.base.param.model.TbSysParam;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: zhangdajun
 * Date: 14-4-12
 * Time: 下午10:00
 * To change this template use File | Settings | File Templates.
 */
//@CacheNamespace(implementation=org.mybatis.caches.ehcache.EhcacheCache.class,flushInterval = 3600000)
@Repository("sysParamMapper")
public interface ITbSysParamMapper extends BaseMapper {

    public void saveSysParam(TbSysParam sysParam) throws Exception;

    public List<TbSysParam> querySysParamById(String id) throws Exception;

    public List<TbSysParam> querySysParamByKey(String key) throws Exception;

    public void deleteSysParam(String id) throws Exception;

    public void deleteSysParamByKey(String key) throws Exception;
}
